struct FragmentOutput {
    @location(0) position: vec4<f32>,
    @location(1) normal: vec4<f32>,
    @location(2) color: vec4<f32>,
};

@fragment
fn main(
    @location(0) fragPosition: vec3<f32>,
    @location(1) fragNormal: vec3<f32>,
    @location(2) fragUV: vec2<f32>,
    @location(3) fragColor: vec4<f32>
) -> FragmentOutput {

    var output: FragmentOutput;
    output.position = vec4<f32>(fragPosition, 1.0);
    output.normal = vec4<f32>(fragNormal, 0.0);
    output.color = fragColor;
    return output;
}
